package com.hpdf.service;

import com.hpdf.domain.TbDCarinfo;
import com.hpdf.domain.param.TbDCarinfoRequest;
import com.hpdf.utils.web.resultbean.BizResult;
import com.hpdf.utils.web.resultbean.PageBean;

public interface DomeService {

	/**
	 * 查询车辆信息表.<br/>
	 * @param carinfo
	 * @return
	 * @throws Exception
	 */
	BizResult<TbDCarinfo>  queryCarinfo(TbDCarinfo carinfo) throws Exception;
	
	/**
	 * 分页查询车辆信息表.<br/>
	 * @param carinfo
	 * @return
	 * @throws Exception
	 */
	BizResult<PageBean<TbDCarinfo>>  queryCarinfoForPage(TbDCarinfoRequest tbDCarinfoRequest) throws Exception;
	
	/**
	 * 插入车辆信息.<br/>
	 * @param carinfo
	 * @return
	 * @throws Exception
	 */
    int insertInCarinfo(TbDCarinfo carinfo);
	
}
